factories.js ➔ ???   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
nc 1
dl 0
loc 5
rs 9.4285
nop 0
1
const validUser = () => ({
2
	name: 'Some name here!',
3
	isAdmin: false,
4
	canPost: false
5
})
6
7
const canPostUser = () => ({
8
	name: 'Somebody who can post',
9
	isAdmin: false,
10
	canPost: true
11
})
12
13
export default { validUser, canPostUser }